#region Header
//=============================================================================
//                          GShield (Game Shield)
//=============================================================================
//
// Original Programmer: Shawn Jackson
// Company: WaveTech Digital Technologies, Inc. (http://www.wtdt.com)
// Copyright: (c) 2006 WaveTech Digital Technologies, Inc. All Rights Reserved.
// Assembly: Library
// Code File Name: Rating.cs
// Code File Date: 10/22/2006
//
// Code File Info: Class representing the local data of a game rating.
//=============================================================================
/*
 * UPDATES
 * -------
 *			ShawnJ 8/7/2007 (0.9.5.x): Code Commenting.
 */
#endregion Header

#region License
/*
  GShield - Game Shield
  Copyright (C) 2006-2007 WaveTech Digital Technologies, Inc.
                                http://www.wtdt.com

  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation; either version 2 of the License, or
  (at your option) any later version.

  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.

  You should have received a copy of the GNU General Public License
  along with this program; if not, write to the Free Software
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
*/
#endregion License

#region Includes
using System;
using WaveTech.GShield.Library.Enumerations;
#endregion Includes

namespace WaveTech.GShield.Library.Objects
{
    /*
  /// <summary>
  /// Class defining a Rating object
  /// </summary>
	[Serializable]
  public class Rating
	{
		#region Private Members
		private long? m_ratingId;
		private string m_gameName;
		private string m_publisher;
		private string m_content;
		private string m_rating;
		private RatingType m_ratingType;
		private string m_platforms;
		private string m_fileName;
		private string m_internalName;
		private string m_productName;
		private string m_company;
		private string m_directoryName;
		private DateTime? m_dateAdded;
		private bool? m_verified;
		private DateTime? m_dateVerified;
		private string m_verifiedBy;
		#endregion Private Members

		#region Public Properties
		/// <summary>
		/// Primary Identifier for the rating object
		/// </summary>
		public long? RatingId
    {
      get { return m_ratingId; }
      set { m_ratingId = value; }
    }

		/// <summary>
		/// Name of the game this rating is for
		/// </summary>
    public string GameName
    {
      get { return m_gameName; }
      set { m_gameName = value; }
    }

		/// <summary>
		/// Publisher, but normally the developer, of the game
		/// </summary>
    public string Publisher
    {
      get { return m_publisher; }
      set { m_publisher = value; }
    }

		/// <summary>
		/// ESRB content in game, seperated by comma
		/// </summary>
    public string Content
    {
      get { return m_content; }
      set { m_content = value; }
    }

		/// <summary>
		/// ESRB Rating, E,T,AO,M, etc
		/// </summary>
    public string EsrbRating
    {
      get { return m_rating; }
      set { m_rating = value; }
    }

		/// <summary>
		/// ESRB rating as a RatingType enumeration
		/// </summary>
    public RatingType RatingType
    {
      get { return m_ratingType; }
      set { m_ratingType = value; }
    }

		/// <summary>
		/// Platforms for the game, should only be Windows PC
		/// </summary>
    public string Platforms
    {
      get { return m_platforms; }
      set { m_platforms = value; }
    }

		/// <summary>
		/// Filename of the game
		/// </summary>
    public string FileName
    {
      get { return m_fileName; }
      set { m_fileName = value; }
    }

		/// <summary>
		/// Internal name from the games primary runtine assembly/binary
		/// </summary>
    public string InternalName
    {
      get { return m_internalName; }
      set { m_internalName = value; }
    }

		/// <summary>
		/// Product name from the games primary runtime assembly/binary
		/// </summary>
    public string ProductName
    {
      get { return m_productName; }
      set { m_productName = value; }
    }

		/// <summary>
		/// Company name from the games primary runtime assembly/binary
		/// </summary>
    public string Company
    {
      get { return m_company; }
      set { m_company = value; }
    }

		/// <summary>
		/// Name of the Directory the games runtime assembly/binary is in
		/// </summary>
    public string DirectoryName
    {
      get { return m_directoryName; }
      set { m_directoryName = value; }
    }

		/// <summary>
		/// Date the rating was stored in the system
		/// </summary>
    public DateTime? DateAdded
    {
      get { return m_dateAdded; }
      set { m_dateAdded = value; }
    }

		/// <summary>
		/// If true the games rating was manually checked.
		/// </summary>
    public bool? Verified
    {
      get { return m_verified; }
      set { m_verified = value; }
    }

		/// <summary>
		/// Timestamp of when the game was manually verified
		/// </summary>
    public DateTime? DateVerified
    {
      get { return m_dateVerified; }
      set { m_dateVerified = value; }
    }

		/// <summary>
		/// Who manually verified the game.
		/// </summary>
    public string VerifiedBy
    {
      get { return m_verifiedBy; }
      set { m_verifiedBy = value; }
    }
    #endregion Public Properties

    #region Public Functions
		/// <summary>
		/// Creates a GameRatingDetail from a rating object
		/// </summary>
		/// <returns>Populated GameRatingDetail object</returns>
    public GameRatingDetail CreateDerived()
    {
      GameRatingDetail grd = new GameRatingDetail();
      grd.Platforms = m_platforms;
      grd.Publisher = m_publisher;
      grd.Rating = m_rating;
      grd.Name = m_gameName;
      grd.Content = m_content;

      return grd;
    }
    #endregion Public Functions
  }
    */
}